<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var jj = {
        name :"zjj",
        age:9,
        gender:"male"
    }
    console.log(jj)
    var Jsonj = JSON.stringify(jj);
    console.log(Jsonj)
    var j = JSON.parse(Jsonj);
    console.log(j);
</script>
</body>
</html>